	<h1>
		Daily Report
	</h1>
	<h2><?php echo $hari?> | <?php echo $tgl ?></h2>
	<p>Report Date Version: <?php echo date('d').' '. $this->date_func->month_localize(date('m')). ' ' . date('Y') .' | '.date('h:i A')?> </p>
</div>

<div id="kanan"> 
        <img src="<?php echo base_url()?>images/logocic.png" width="620" height="350" />
    </div>
<div class="clear"></div>
<div id="isi">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" id="nol">
		<tr>
			<th colspan="5">
				<h3>Summary</h3>
			</th>
		</tr>
		<tr>
			<td>Total Transaksi</td>
			<td>Total</td>
			<td>Masuk</td>
			<td>Keluar</td>
			<td>Petugas</td>
		</tr>
		<?php if($kosong){ ?>
		<tr>
			<td><strong>0 Transaksi</strong></td>
			<td><strong>Rp 0</strong></td>
			<td><strong>Rp 0</strong></td>
			<td><strong>Rp 0</strong></td>
			<td><strong>0 Orang</strong></td>
		</tr>
		<?php } else { ?>
		<tr>
			<td><strong><?php echo $jum_trans?> Transaksi</strong></td>
			<td><strong>Rp <?php echo number_format(($masuk-$keluar),0,',','.')?></strong></td>
			<td><strong>Rp <?php echo number_format($masuk,0,',','.')?></strong></td>
			<td><strong>Rp <?php echo number_format($keluar,0,',','.')?></strong></td>
			<td><strong><?php echo $user?> Orang</strong></td>
		</tr>
		<?php } ?>
	</table>
	<?php if(! $kosong){ ?>
	<table border="0" cellpadding="0" cellspacing="0" id="satu">
		<tr>
			<th colspan="6">
				<h3> Details Transaksi</h3>
			</th>
		</tr>
		<tr>
			<td><strong>Time</strong></td>
			<td>&nbsp;</td>
			<td><strong>Jumlah</strong></td>
			<td><strong>Pelatihan</strong></td>
<!--			<td><strong>Pembayaran</strong></td>-->
			<td><strong>Atas Nama</strong></td>
			<td><strong>Petugas</strong></td>
		</tr>
		<?php for($i=0;$i<$jum_trans;$i++){?>
		<tr>
			<td><?php echo $detail[$i]['time'] ?></td>
			<td>&nbsp;</td>
			<td>Rp <?php echo number_format($detail[$i]['jumlah'],0,',','.') ?></td>
			<td><?php echo $detail[$i]['pelatihan'] ?></td>
<!--			<td>Pembayaran</td>-->
			<td><?php echo $detail[$i]['atasnama'] ?></td>
			<td><?php echo $detail[$i]['fo'] ?></td>
		</tr>	
		<?php } ?>
	</table>
	<?php } ?>
</div>

<p class="x">This Report Generated Automatically Under ComLabs IT Course Information System</p>
<p>Printed By: <strong><?php echo $this->session->userdata('Nama');?></strong></p>
<p class="x2">Bandung, <?php echo date('d').' '. $this->date_func->month_localize(date('m')). ' ' . date('Y') ?></p>
<div id="pelapor">
    <p>Yang Membuat Laporan:</p>
    <p class="feri"><strong><?php echo $this->session->userdata('Nama');?></strong></p>
    <p></p>
</div>
<div id="tahu">
    <p></p>
</div>

</body>
</html>
